Filter hook 'site_transient_{$transient}'
in WP Core File wp-includes/option.php at line 2544
Description
Filters the value of an existing site transient. The dynamic portion of the hook name, `$transient`, refers to the transient name.
Occurrences
Filename |
Line Number |
wp-includes/option.php |
2544 |
Parameters
Type |
Name |
Description |
mixed |
$value |
Value of site transient. |
string |
$transient |
Transient name. |
PHP Doc
/**
* Filters the value of an existing site transient.
*
* The dynamic portion of the hook name, `$transient`, refers to the transient name.
*
* @since 2.9.0
* @since 4.4.0 The `$transient` parameter was added.
*
* @param mixed $value Value of site transient.
* @param string $transient Transient name.
*/